<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Warehousing_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-warehousing_id" data-rule="required" data-source="warehousing/index" class="form-control selectpage" name="row[warehousing_id]" type="text" value="{$row.warehousing_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Return_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-return_num" data-rule="required" class="form-control" name="row[return_num]" type="number" value="{$row.return_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Return_order_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-return_order_no" class="form-control" name="row[return_order_no]" type="text" value="{$row.return_order_no|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Returntime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-returntime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[returntime]" type="text" value="{:$row.returntime?datetime($row.returntime):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Client')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-client" class="form-control" name="row[client]" type="text" value="{$row.client|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
